]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
layout: Fix missing switch to MTK
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 31 Aug 2023 16:28:03 +0000 (18:28 +0200)
committerMarge Bot <marge-bot@gnome.org>
Thu, 31 Aug 2023 22:05:32 +0000 (22:05 +0000)
This bit was missed, probably because it uses the cairo type
instead of Meta.Rectangle.

Fixes 80237b1082
Closes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6970

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2930>

js/ui/layout.js

index c86934cf50967623061b6ceca71e4966ad4f55dc..3ba9b9654f82ff3a0c35eaedebcc87fd2d4a631f 100644 (file)
@@ -1461,7 +1461,7 @@ class ScreenTransition extends Clutter.Actor {
 
         Main.uiGroup.set_child_above_sibling(this, null);
 
-        const rect = new imports.gi.cairo.RectangleInt({
+        const rect = new Mtk.Rectangle({
             x: 0,
             y: 0,
             width: global.screen_width,